 <template>
  <el-alert
    v-if="!isActivate"
    show-icon
    title="企业未激活，请填写企业信息后申请激活"
    :closable="false"
    type="warning"
  >
    <template>
      <a @click="$emit('to_activate')" style="color: #0087f3;margin-left: 5px;cursor:pointer">马上申请</a>
    </template>
  </el-alert>
</template>

<script>
import { getOwnerRequest, addRequest } from "api/account";

export default {
  data() {
    return {
      activate: false // 企业是否激活
    };
  },
  props: ["isActivate", "to_activate"]
};
</script>

<style lang="scss" scoped>
@import "src/style/mixin";
</style>
